package com.ylzinfo.jck.services;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * @description 基础库WebService接口
 * @author sunqy
 * @date 2019/11/19
 */
@WebService(
        name = "jckServer",
        targetNamespace = "http://www.ylzinfo.com"
)
public interface JckWS {

    /**
     * 根据aac002查询人员信息，包含参保信息ac02
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/getPerinfoByAac002")
    String getPerinfoByAac002(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 新增或修改人员基本信息ac01
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/addOrModPerson")
    String addOrModPerson(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 批量新增或许修改人员基本信息
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/batchAddOrModPerson")
    String batchAddOrModPerson(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 修改人员参保信息
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/addOrModPerInsure")
    String addOrModPerInsure(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 批量新增或修改人员参保信息
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/batchAddOrModPerInsure")
    String batchAddOrModPerInsure(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 通过单位名称获取单位信息
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/getCompanyInfoByAab003")
    String getCompanyInfoByAab003(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 新增或修改单位基本信息
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/addOrModCompany")
    String addOrModCompany(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;

    /**
     * 批量新增或修改单位信息
     * @param instr
     */
    @WebMethod(action = "http://www.ylzinfo.com/batchAddOrModCompany")
    String batchAddOrModCompany(@WebParam(name = "instr", targetNamespace = "http://www.ylzinfo.com") String instr) throws Exception;
}
